package com.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

// mybatis的dao层和xml之间的映射配置：1、在主启动文件使用@MapperScan注解配置；2、在mapper的接口类中使用注解@Mapper
@MapperScan("com.example.dao")
@SpringBootApplication
public class Springbootmaven20210510Application {

    public static void main(String[] args) {
        SpringApplication.run(Springbootmaven20210510Application.class, args);
    }

}
